package com.ly.system.service.sysuser;

import com.ly.common.core.domain.R;
import com.ly.common.core.domain.vo.LoginUserVO;
import com.ly.system.domain.sysuser.dto.LoginDTO;
import org.springframework.stereotype.Service;

@Service
public interface ISysUserService {

    R<String> login(String userAccount, String password);

    int add(LoginDTO.SysUserSaveDTO sysUserSaveDTO);
    boolean logout(String token);

    R<LoginUserVO> info(String token);


}
